package com.esdk.sql.orm;

import java.util.Collection;
import java.util.List;

public interface IRowSet<T extends IRow> extends IReadRowSet<T>{
  IRowSet setColumns(String[] names);
  IRowSet setColumns(Collection names);
  IRowSet add(int position,T row);
  IRowSet add(T row);
  IRowSet addAll(List<T> rows);
  IRowSet addAll(IReadRowSet<T> rows);
  IRowSet remove(T row);
  T remove(int index);
  IRowSet remove(IReadRowSet<T> rs);
  IRowSet remove(Collection<T> collection);
  IRowSet removeAll();
  T setRow(int index,T row);

}
